//
//  SCCTimer.h
//  iospro
//
//  Created by yons on 8.5.21.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface SCCTimer : NSObject

+(NSString *)execTimerEventHandle:(void(^)(void))handle
                      start:(NSTimeInterval)start
                   interval:(NSTimeInterval)interval
                   reapeats:(BOOL)repeats
                      async:(BOOL)async;

+(NSString *)execTimerWithTarget:(id)target
                        selector:(SEL)selector
                           start:(NSTimeInterval)start
                        interval:(NSTimeInterval)interval
                        reapeats:(BOOL)repeats
                           async:(BOOL)async;
    

+(void)cancelTimer:(NSString *)name;


@end

NS_ASSUME_NONNULL_END
